<%@page import="ca.uvic.group2.ui.*"%>
<%@page import="ca.uvic.group2.api.*"%>
<%@page import="java.util.*"%>


<html>
<head>
<title>Init Complete</title>
<style>
body
{
        background-color: white;
}

form
{
        margin: 0px;
        padding: 0px;
}

.loginform
{
        border: 1px solid black;
        background-color: #ccc;
        width: 50%;
        margin-left: 25%;
        margin-right: 25%;
        margin-top: 10px;
}
.errorMessage
{
        border: 1px solid #990;
        background-color: #FFA;
        margin: 5px;
}
</style>

<script>
function setFocus() { }
</script>
</head>

<body onload="setFocus();">

<h1>StockServ Operation Complete</h1>
<div class='loginform'>

<% 
   Object message = request.getAttribute("message");
   if (message != null) {
      out.print("<p>" + message.toString());
   } else {
%>
<p>System has been initialized.
<% } %>
<p><form action="stockserv"><input type="submit" value="Cool."></form>
</div>

</body>
</html>
